SftTree/NET 2.0

ShowFocusRectangle Property, SftTree Class

Softel vdm, Inc.

Defines whether the focus rectangle is shown for the current focus object.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ShowFocusRectangle As Boolean

C#   

public bool ShowFocusRectangle { get; set; }

C++   

public: property bool ShowFocusRectangle {
        bool get();
        void set(bool value);
}

Property Value

True if the focus rectangle is shown, otherwise False.

The default value is True.

Comments

The ShowFocusRectangle property defines whether the focus rectangle is shown for the current focus object.

The focus rectangle is only displayed if the tree control has the input focus. The size of the focus rectangle is consistent with the current selection style (SelectionStyle).

If item selection is active, the focus object is an item (ItemClass), otherwise cell selection is active and the focus object is a cell.

The FocusObject, FocusItem and FocusCell properties define the focus object.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com